package router

import (
	"cid-media-api/controllers"
	"github.com/gin-gonic/gin"
)

func SetupTestRouter(r *gin.Engine) *gin.Engine {

	testApi := r.Group("/api/test")
	{
		testApi.GET("/rateLimit", controllers.TestRateLimit)
		testApi.GET("/ocean/getAdvertiserFund", controllers.TestGetAdvertiserFund)
		testApi.GET("/ocean/getAdvertiserFundDailyStat", controllers.TestGetAdvertiserFundDailyStat)
		testApi.GET("/ocean/getAdvertiserReportDay", controllers.TestGetAdvertiserReportDay)
		testApi.GET("/ocean/getAdvertiserReportDayJln", controllers.TestGetAdvertiserReportDayJln)
		testApi.GET("/ocean-qc/getAdvertiserReportDayJln", controllers.TestGetQCAdvertiserReportDayJln)
		testApi.GET("/ocean/getMaterialReportDayJln", controllers.TestGetMaterialReportDayJln)
		testApi.GET("/ocean-qc/getMaterialReportDayJln", controllers.TestGetQCMaterialReportDayJln)
		testApi.GET("/data/syncEditorMaterialAuditData", controllers.TestSyncEditorMaterialAuditData)
		testApi.GET("/data/syncDirectorMaterialAuditData", controllers.TestSyncDirectorMaterialAuditData)
		testApi.GET("/data/updateHistoryEditorMaterialAuditData", controllers.TestUpdateHistoryEditorMaterialAuditData)
		testApi.GET("/data/tiktok/syncEditorMaterialAuditData", controllers.TestTiktokSyncEditorMaterialAuditData)
	}

	return r

}
